package cn.ad.service;

import cn.ad.entity.AdSize;
import cn.ad.handler.SqlSessionHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 非原生广告 服务层实现
 * 
 * @author yujuan.zhang
 * @from 2016-06-17
 * @since V1.0
 *
 */
@Service
public class AdSizeService {

	@Autowired
	private SqlSessionHandler sqlSessionHandler;

	public AdSize selectBySizeId(Integer id) {
		return sqlSessionHandler.selectOne("adSizeMapper.selectBySizeId", id);
	}

}
